-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Move dual nonlinear solving to NonlinearSolveBase #513
Conversation
overall this looks correct, the reason we had this in NonlinearSolve was the Poly algorithms, but now that those have been moved to base, we can safely do this |
I believe this PR is ready now. To avoid introducing additional overhead in Base, I put the init and solve dispatch of Dual nonlinear problems in every sub-package extension for ForwardDiff so that different kinds of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. feel free to merge!
Fix: #512
Move the solving dispatch for nonlinear problems with u0 or p specified as Dual number to NonlinearSolveBase so that all sub-packages can share this feature.